package com.shangguan.springboot.dao;

import com.shangguan.springboot.entity.TUser;

import java.util.List;

public interface TUserMapper {
    TUser selectByPrimaryKey(Integer userId);

    TUser selectByName(String  userName);

    List<TUser> selectAll();
    int deleteByPrimaryKey(Integer userId);

    int insert(TUser record);

    int insertSelective(TUser record);



    int updateByPrimaryKeySelective(TUser record);

    int updateByPrimaryKey(TUser record);

}